﻿<Window x:Class="Pepper.Forms.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Pepper" WindowStartupLocation="CenterOwner" Height="230" Width="417" Icon="/Pepper.Forms;component/Images/Drink_Mug.png" ResizeMode="NoResize">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="48" />
            <RowDefinition Height="32" />
            <RowDefinition Height="32" />
            <RowDefinition Height="12" />
            <RowDefinition Height="64" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="170"/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <TextBlock Text="Welcome to Pepper, this is the easy way to backup &amp; sync your Visual Studio settings." Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="2" Margin="5" TextWrapping="Wrap" />
        <Button Grid.Row="1" Grid.Column="0" Margin="5" Grid.ColumnSpan="2" Click="LoadSettingsClick" Background="{x:Null}">Download Settings</Button>
        <Button Grid.Row="2" Grid.Column="0" Margin="5"  Grid.ColumnSpan="2" Click="SaveSettingsClick" Background="{x:Null}">Upload Settings</Button>        
        <Grid Grid.Row="4" Grid.Column="0">
            <Grid.RowDefinitions>
                <RowDefinition Height="28"/>
                <RowDefinition/>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition/>
                <ColumnDefinition Width="40"/>
            </Grid.ColumnDefinitions>
            <TextBlock Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="2" Margin="5">Developed By</TextBlock>
            <TextBlock Grid.Column="0" Grid.Row="1" Grid.RowSpan="2" MouseLeftButtonUp="SADevNavigateClick" Cursor="Hand" FontSize="22" FontFamily="Gabriola" FontWeight="Bold" FontStyle="Normal" Foreground="#FF341D85" TextAlignment="Center">Robert MacLean</TextBlock>
            <Image MouseLeftButtonUp="TwitterNavigateClick" Cursor="Hand" Grid.Column="1" Grid.Row="1" RenderOptions.BitmapScalingMode="HighQuality" Source="/Pepper.Forms;component/Images/Twitter%202.ico" />
            <Image MouseLeftButtonUp="SADevRSSNavigateClick" Cursor="Hand" Grid.Column="1" Grid.Row="2" RenderOptions.BitmapScalingMode="HighQuality" Source="/Pepper.Forms;component/Images/RSS.ico" />
        </Grid>        
        <StackPanel Grid.Row="4" Grid.Column="1" Orientation="Vertical" Margin="5">
            <TextBlock>Powered By</TextBlock>            
            <Image MouseLeftButtonUp="AzureNavigateClick" Cursor="Hand" RenderOptions.BitmapScalingMode="HighQuality" Source="/Pepper.Forms;component/Images/azurelogo.png" />
        </StackPanel>
    </Grid>
</Window>
